<?php
/**
 * simple app test
 */
$curDir = dirname(__file__) . '/';
require_once $curDir . '../../../blib/blib.php';
// allow debug to test
Blib::allowDebug(true);
// add autoload
Blib::registerLoadPath('msp', $curDir . 'core/');

/**
 * some config example
 */
Blib::env('development');   // this sets it to development...
// some fake DB conf:
Blib::setConf('cache.site.enabled', false);
Blib::setConf('cache.site.adaptor', 'file');
Blib::setConf('cache.site.options', array(
    'path' => $curDir . 'tmp/',
    'expiry' => 15,
));
// Blib::allowDebug(false);

// $app = Blib_App_Delegate::getInstance(new Na_Ctrl, new Na_View);
$app = Blib_App_Delegate::getInstance();
$app->setNamespace('msp')
    ->setRouter('controller/action/subaction/', array(

    ))
    ->main();
?>